﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Runtime.Serialization;

namespace KPIS.GERP.Models.SYS
{
    [DataContract, Table("SysOTPData")]
    public class OTPData
    {
        [Key, DataMember, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public virtual int OTPDataId { get; set; }

        [DataMember]
        public virtual string Key { get; set; }

        [DataMember]
        public virtual string Value { get; set; }

        //[DataMember, ForeignKey("OTP")]
        //public virtual int? OtpId { get; set; }

        //[DataMember]
        //public virtual OTP OTP { get; set; }
    }
}